package com.ruoyi.core.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 包装单位对象 wes_pack_unit
 * 
 * @author sam
 * @date 2024-01-02
 */
public class WesPackUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long packUnitId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 件装量 */
    @Excel(name = "件装量")
    private Long convertFigure;

    /** 高 */
    @Excel(name = "高")
    private Long height;

    /** 货品Id */
    @Excel(name = "货品Id")
    private Long itemId;

    /** 长 */
    @Excel(name = "长")
    private Long length;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 体积 */
    @Excel(name = "体积")
    private Long volume;

    /** 重量 */
    @Excel(name = "重量")
    private Long weight;

    /** 宽 */
    @Excel(name = "宽")
    private Long width;

    public void setPackUnitId(Long packUnitId) 
    {
        this.packUnitId = packUnitId;
    }

    public Long getPackUnitId() 
    {
        return packUnitId;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setConvertFigure(Long convertFigure) 
    {
        this.convertFigure = convertFigure;
    }

    public Long getConvertFigure() 
    {
        return convertFigure;
    }
    public void setHeight(Long height) 
    {
        this.height = height;
    }

    public Long getHeight() 
    {
        return height;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setLength(Long length) 
    {
        this.length = length;
    }

    public Long getLength() 
    {
        return length;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setVolume(Long volume) 
    {
        this.volume = volume;
    }

    public Long getVolume() 
    {
        return volume;
    }
    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }
    public void setWidth(Long width) 
    {
        this.width = width;
    }

    public Long getWidth() 
    {
        return width;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("packUnitId", getPackUnitId())
            .append("createdTime", getCreatedTime())
            .append("creator", getCreator())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("convertFigure", getConvertFigure())
            .append("height", getHeight())
            .append("itemId", getItemId())
            .append("length", getLength())
            .append("name", getName())
            .append("status", getStatus())
            .append("volume", getVolume())
            .append("weight", getWeight())
            .append("width", getWidth())
            .toString();
    }
}
